<%@page import="com.hfjyz.registration.util.MasterUtil"%>
<%@page import="com.hfjyz.registration.command.VerifyCommand"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/view/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>网上报名-合肥猎头网</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${contextPath}/view/css/user.css" type="text/css"
	media="all" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<script type="text/javascript">
<!--
	function submitVerify(obj) {
		document.getElementById('submitFlag').value = obj;
		document.getElementById('verifyForm').submit();
	}

	function doLogout() {
		adminLogoutForm.submit();
	}
//-->
</script>
</head>
<body>
	<%@include file="/view/adminMenu.jsp"%>
	<div class="midBox">
		<div class="midTitle">报名审核</div>
		<div class="cnt">
			<table width="100%" border="0" cellpadding="0" cellspacing="1"
				bgcolor="#E1E1E1">
				<tr>
					<td height="32" align="left" bgcolor="#FFFFFF" valign="middle"
						style="padding-left: 10px;"><b><span
							style="color: #666666">报名审核</span></b></td>
				</tr>
				<tr bgcolor="#FFFFFF">
					<td valign="top" align="center" height="200"
						style="padding-top: 20px; padding-bottom: 5px;"><form:form
							id="verifyForm" name="verifyForm" method="post"
							action="${contextPath}/verify.action" commandName="VerifyCommand">
							<form:hidden path="userId" />
							<table width="80%" border="0" cellpadding="4" cellspacing="1"
								bgcolor="#E1E1E1">
								<tr bgcolor="#ffffff">
									<td width="20%" align="right">身份证号：</td>
									<td width="40%" align="left">${VerifyCommand.user.idCardNo}</td>
									<td width="20%" align="right">姓名：</td>
									<td width="20%" align="left">${VerifyCommand.user.name}</td>
									<td rowspan="5" align="center"><img
										src="${contextPath}/imageDownload?userId=${VerifyCommand.user.idCardNo}"
										height="140px" width="102px" /></td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">性别：</td>
									<td align="left"><%=MasterUtil.getInstance().getMasterName(
						((VerifyCommand) request.getAttribute("VerifyCommand"))
								.getUser().getSex())%></td>
									<td align="right">民族：</td>
									<td align="left"><%=MasterUtil.getInstance().getMasterName(
						((VerifyCommand) request.getAttribute("VerifyCommand"))
								.getUser().getNationCode())%></td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">出生年月：</td>
									<td align="left">${VerifyCommand.user.birthdayYear}年${VerifyCommand.user.birthdayMonth}月</td>
									<td align="right">毕业时间：</td>
									<td align="left">${VerifyCommand.user.graduateYear}年${VerifyCommand.user.graduateMonth}月</td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">籍贯：</td>
									<td align="left">${VerifyCommand.user.homeTown}</td>
									<td align="right">身份：</td>
									<td align="left"><%=MasterUtil.getInstance().getMasterName(
						((VerifyCommand) request.getAttribute("VerifyCommand"))
								.getUser().getIdentity())%></td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">婚姻状况：</td>
									<td align="left"><%=MasterUtil.getInstance().getMasterName(
						((VerifyCommand) request.getAttribute("VerifyCommand"))
								.getUser().getMarried())%></td>
									<td align="right">政治面貌：</td>
									<td align="left"><%=MasterUtil.getInstance().getMasterName(
						((VerifyCommand) request.getAttribute("VerifyCommand"))
								.getUser().getPoliticalCode())%></td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">最高学历：</td>
									<td align="left"><%=MasterUtil.getInstance().getMasterName(
						((VerifyCommand) request.getAttribute("VerifyCommand"))
								.getUser().getDegree())%></td>
									<td align="right">工作年限：</td>
									<td align="left" colspan="2">${VerifyCommand.user.workyears}</td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">毕业院校：</td>
									<td align="left">${VerifyCommand.user.graduateSchool}</td>
									<td align="right">专业：</td>
									<td align="left" colspan="2">${VerifyCommand.user.major}</td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">计算机程度：</td>
									<td align="left"><%=MasterUtil.getInstance().getMasterName(
						((VerifyCommand) request.getAttribute("VerifyCommand"))
								.getUser().getComputerSkill())%></td>
									<td align="right">外语程度：</td>
									<td align="left" colspan="2"><%=MasterUtil.getInstance().getMasterName(
						((VerifyCommand) request.getAttribute("VerifyCommand"))
								.getUser().getLanguageSkill())%></td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">身高：</td>
									<td align="left">${VerifyCommand.user.height}cm</td>
									<td align="right">联系电话：</td>
									<td align="left" colspan="2">${VerifyCommand.user.telephone}</td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">报考部门：</td>
									<td align="left">${VerifyCommand.apply.applyDepartName}</td>
									<td align="right">岗位类别：</td>
									<td align="left" colspan="2">${VerifyCommand.apply.applyOfficeName}</td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">岗位编号：</td>
									<td align="left" colspan="4">${VerifyCommand.apply.applyOfficeCode}</td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right" nowrap="nowrap">学习/培训经历：</td>
									<td align="left" colspan="4"><div
											style="width: 612px; overflow: auto">
											<pre>${VerifyCommand.user.trainingExp}</pre>
										</div></td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">工作经历：</td>
									<td align="left" colspan="4"><div
											style="width: 612px; overflow: auto">
											<pre>${VerifyCommand.user.workExp}</pre>
										</div></td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">社会关系：</td>
									<td align="left" colspan="4"><div
											style="width: 612px; overflow: auto">
											<pre>${VerifyCommand.user.socialRel}</pre>
										</div></td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">审核：</td>
									<td align="left" colspan="4"><form:select
											path="verifyState">
											<form:option value="1">不通过</form:option>
											<form:option value="2">通过</form:option>
										</form:select></td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="right">原因：</td>
									<td align="left" colspan="4"><form:textarea
											path="verifyReason" cols="50" rows="4" /><font
										color="#ff0000"><form:errors path="verifyReason" /></font></td>
								</tr>
								<tr bgcolor="#ffffff">
									<td align="center" colspan="5"><form:hidden
											path="submitFlag" id="submitFlag" /> <input type="button"
										value="确 定" onclick="submitVerify(true);" />&nbsp;&nbsp;&nbsp;
										<input type="button" value="返 回"
										onclick="submitVerify(false);" /></td>
								</tr>
							</table>
						</form:form></td>
				</tr>
			</table>
		</div>
	</div>
	<%@include file="/view/footer.jsp"%>
</body>
</html>